//
//  ZDLogFileManger.m
//  TestLogDemoOriginal
//
//  Created by JXH on 2020/12/24.
//

#import "ZDLogFileManger.h"

@implementation ZDLogFileManger

- (NSString *)newLogFileName
{
    NSDateFormatter *df = [[NSDateFormatter alloc] init];
    [df setLocale:[NSLocale localeWithLocaleIdentifier:@"en_US_POSIX"]];
    [df setDateFormat: @"yyyy'-'MM'-'dd'_'HH':'mm':'ss':'SSS'"];
    NSString *title = @"行情数据";
    NSString *formattedDate = [df stringFromDate:[NSDate date]];
    return [NSString stringWithFormat:@"%@_%@.log", title, formattedDate];
    
}


@end
